package com.bw.service.impl;

import com.bw.entity.vo.InterVo;
import com.bw.mapper.ConfigMapper;
import com.bw.service.ConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: shujuzhongxin
 * @description:
 * @author: Mr.Wang
 * @create: 2020-06-03 14:26
 **/
@Service
@SuppressWarnings("all")
public class ConfigServiceImpl implements ConfigService {
    @Autowired
    private ConfigMapper configMapper;
    @Override
    public List<InterVo> ConfigList(String mohu) {
        return configMapper.ConfigList(mohu);
    }

    @Override
    public void batchesdel(String ids) {
        this.configMapper.batchesdel(ids);
    }

    @Override
    public void startbatches(String ids) {
        this.configMapper.startbatches(ids);
    }

    @Override
    public void forbiddenbatches(String ids) {
        this.configMapper.forbiddenbatches(ids);
    }

    @Override
    public InterVo addportconfiguration(InterVo interVo) {
        return this.configMapper.addportconfiguration(interVo);
    }
}
